/**
 * licenses
 *
 */

package com.openjawtech.xscraper.flights.dao;

import com.openjawtech.xscraper.flights.dao.impl.AirportDAOImpl;
import com.openjawtech.xscraper.flights.dao.impl.FlightDAOImpl;


/**
 * <p>a factory used to create all the dao instance
 *
 * <p>16/02/2009
 * @author Wenbo.Sun
 */
public class DAOFactory {

    //create an airport dao instance
    public static AirportDAO createAirportDAO(){
        return new AirportDAOImpl();
    }

    //create an flight dao instance
    public static FlightDAO createFlightDAO(){
        return new FlightDAOImpl();
    }
}
